#ifndef ENTER_AD_H
#define ENTER_AD_H

#include <QWidget>
#include"add_st.h"
#include"ui_st_inf.h"
#include"st_inf.h"
#include"ad.h"
#include"ui_ad.h"


namespace Ui {
class Enter_ad;
}

class Enter_ad : public QWidget
{
    Q_OBJECT

public:
    explicit Enter_ad(QWidget *parent = nullptr);
    ~Enter_ad();


    Ui::Enter_ad *ui;


    add_st*add;
    //添加成员，为add_st窗口的指针
    st_inf*inf;
    //添加st_inf的ui文件的指针
    Ui_st_inf*ui_inf;

    //Ui_ad*ui_ad;没能找出方法在enter_ad中显示ad的账号

signals:
    void display(int number);
private slots:

    void on_return_2_clicked();
    void on_pushButton2_clicked();
    void on_pushButton1_clicked();

    void on_button3_clicked();
};

#endif // ENTER_AD_H
